package team.newexcellence.tsfitness.dao;

import org.springframework.stereotype.Repository;
import team.newexcellence.tsfitness.pojo.Food;
import team.newexcellence.tsfitness.pojo.Recipes;

import java.util.List;
import java.util.Map;

@Repository
public interface FoodDao {
    public List<Food> fingAllFood() throws Exception;

    public Recipes lookMyRecipes(int userID) throws Exception;

    public List<Food> findFoodByNutrition(String nutrition) throws Exception;

    public Map<String, Double> findNutritionByFoodName(String foodName) throws Exception;

    public Integer addFoodToRecipes(int foodID, int userID) throws Exception;

    public Food findFoodByID(int foodID) throws Exception;

}
